/*
 * File Name: PersDepartmentServiceImpl
 * Created by yulong.dai on 17-3-18 下午3:29.
 * Copyright:Copyright © 1985-2017 ZKTeco Inc.All right reserved.
 */


package com.zkteco.biosecurity.${moduleName}.biz.service.impl;


import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zkteco.biosecurity.core.service.impl.BaseBizImpl;
import com.zkteco.biosecurity.${moduleName}.biz.service.${modelName?cap_first}Service;
import com.zkteco.biosecurity.${moduleName}.entity.${modelName?cap_first};

package com.xdtech.${moduleName}.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 接口实现类
 *
 * @author by code creator
 * @version v1.0
 */
//表示此类的方法将应用这个事务,事务默认要抛出运行时异常才会回滚,因此，Service层涉及更新的,就不能捕获异常然后没有抛出
//这个注解也可以注解在方法上
@Service
@Transactional
public class ${modelName?cap_first}ServiceImpl extends BaseBizImpl<${modelName?cap_first}> implements ${modelName?cap_first}Service {
}

